<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
    <!-- 微软的老式浏览器 -->
    <meta name="MobileOptimized" content="320">
    <!-- 启用360浏览器的极速模式(webkit) – -->
    <meta name="renderer" content="webkit">
    <!-- 避免IE使用兼容模式 -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
    <meta name="HandheldFriendly" content="true">
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
    <!-- UC强制全屏 -->
    <meta name="full-screen" content="yes">
    <!-- QQ强制全屏 -->
    <meta name="x5-fullscreen" content="true">
    <!-- UC应用模式 若开启长按无法复制链接-->
    <!--meta name="browsermode" content="application"-->
    <!-- QQ应用模式 -->
    <meta name="x5-page-mode" content="app">
    <!--网站开启对web app程序的支持-->
    <meta name="apple-touch-fullscreen" content="yes">
    <!--在web app应用下状态条（屏幕顶部条）的颜色-->
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <!-- windows phone 点击无高光 -->
    <meta name="msapplication-tap-highlight" content="no">
    <!--移动web页面是否自动探测电话号码-->
    <!--<meta http-equiv="x-rim-auto-match" content="none">-->
    <!--手机号码显示为拨号链接-->
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Cache-Control" content="max-age=300" />
    <meta http-equiv="Expires" content="300" />
    <title>8号金融街</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/my-investor.css">
    <link rel="stylesheet" href="../assets/swiper/css/swiper.min.css">
    <link rel="stylesheet" href="../assets/layer_mobile/need/layer.css">
    <script src="../js/common.js"></script>
    <script src="../js/jquery.min.js"></script>
    <script src="../assets/swiper/js/swiper.jquery.min.js"></script>
    <script src="../assets/layer_mobile/layer.js"></script>
    <script src="../assets/better-scroll/bscroll.min.js"></script>
</head>
<body>
    <div class="switches">
        <ul class="switches-wrapper">
            <li class="active" onclick="switchButton(this)"><span>已投资</span></li>
            <li onclick="switchButton(this)"><span>未投资</span></li>
        </ul>
    </div>
    <!--已投资列表-->
    <div class="list-content" id="invest-list">
        <div>
            <div class="list-header">
                <div class="left">
                    <span>手机号码/姓名</span>
                </div>
                <div class="right">
                    <span>注册平台</span>
                </div>
            </div>
            <ul class="list-wrapper">
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <!--未投资列表-->
    <div class="list-content" id="uninvest-list">
        <div>
            <div class="list-header">
                <div class="left">
                    <span>手机号码/姓名</span>
                </div>
                <div class="right">
                    <span>注册平台</span>
                </div>
            </div>
            <ul class="list-wrapper">
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
                <li class="list-item">
                    <a href="#">
                        <div class="left">
                            <p>15200686999</p>
                            <span>王华斌</span>
                        </div>
                        <div class="right">
                            <div class="text-wrapper">
                                <p>果树财富</p>
                                <span>查看详情</span>
                            </div>
                            <div class="arrow-wrapper">
                                <span class="arrow-right"></span>
                            </div>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</body>
<script>
    var wrapper1 = document.querySelector("#invest-list")
    var wrapper2 = document.querySelector("#uninvest-list")
    var scroll1 = new BScroll(wrapper1, {
        probeType: 1,
        click: true,
    })
    var scroll2 = new BScroll(wrapper2, {
        probeType: 1,
        click: true,
    })
    function switchButton(obj) {
        $(obj).addClass('active').siblings().removeClass('active')
        if ($(obj).children('span').text() == '已投资') {
            $('#uninvest-list').css({"transform": "translateX(100%)"}, {"zIndex": 0})
            $('#invest-list').css({"transform": "translateX(0)"})
            scroll2.refresh();
        } else {
            $('#uninvest-list').css({"transform": "translateX(0)"}, {"zIndex": 10})
            $('#invest-list').css({"transform": "translateX(-100%)"})
            scroll1.refresh();
        }
    }
</script>
</html>